<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8">
	<title>Open Constest Arena | {% block title %}{% endblock %}</title>
<style type="text/css" media="screen">
	body
	{
		margin: 0;
		padding: 0;
		font: 90% arial, helvetica, sans-serif;
		background: #387A9B;
		color: #333;
	}
	
	h1
	{
		background: #D36832;
		color: #FFF;
		margin: 0;
		padding: .5em 3%;
		border-bottom: 5px solid #387A9B;
	}
	
	h2, h3 { margin-top: 0; }
	#container { background: url(back01.gif) repeat-y 50% 0; }
	#container2 { background: url(back02.gif) repeat-y 80% 0; }
	
	#content
	{
		width: 44%;
		float: left;
		margin: 1em 3%;
		display: inline;
	}
	
	#news
	{
		width: 24%;
		float: left;
		margin: 1em 3%;
	}
	
	#nav
	{
		width: 14%;
		float: left;
		margin: 1em 0 1em 3%;
	}
	
	#nav ul
	{
		margin: 0;
		padding: 0;
		list-style-type: none;
		line-height: 150%;
	}
	
	#footer
	{
		clear: both;
		background: #387A9B;
		color: #fff;
		padding: 5px 3%;
		text-align: right;
	}
</style> 
</head>
<body>
<h1>
	Sitename
</h1>
<div id="container">
	<div id="container2">
		<div id="content">
			<h1>{% block head %}{% endblock %}</h1>
			{% block content %} {% endblock %}	
		</div>
		<div id="nav">
		 <a href="/">Inicio</a> |
    {% if user.is_authenticated %}
      <a href="/password_change/">Cambiar password</a> |
      <a href="/user/{{ user.username }}/">
        {{ user.username }}</a> |
      <a href="/logout/">Cerrar Sesion</a>
    {% else %}
      <a href="/login/">Iniciar Sesion</a> |
      <a href="/register/">Registrar</a>
    {% endif %}
		</div>
		<div id="footer">
			Copyright &copy; _IT 2008
		</div>
	</div>
</div>
</body>
</html>